<!-- lottery-results.hbs -->

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>活动结果</title>
    <!-- 引入 Bootstrap 5 样式表 -->
    <link href="/apps/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="/apps/css/fontawesome-free-6.4.0-web/css/all.css">
</head>
<body>
    <div class="container mt-4">
        <h1 class="mb-4">活动结果 {{{downloadLink}}}</h1>
        <table class="table table-bordered">
            <thead>
                <tr>
                    <th>UID</th>
                    <th>姓名</th>
                    <th>手机</th>
                    <th>代表</th>
                    <th>奖品</th>
                    <th>说明</th>
                    <th>备注</th>
                    <th>时间</th>
                </tr>
            </thead>
            <tbody>
                {{#each lotteryResults}}
                <tr>
                    <td>{{uid}}</td>
                    <td>{{name}}</td>
                    <td>{{phone}}</td>
                    <td>{{rep_code}}</td>
                    <td>{{prize}}</td>
                    <td>{{memo}}</td>
                    <td>{{comment}}</td>
                    <td>{{drawed_at}}</td>
                </tr>
                {{/each}}
            </tbody>
        </table>
    </div>

    <!-- 引入 Bootstrap 5 JavaScript文件（如果需要） -->
    <script src="/apps/js/jquery-3.7.1.min.js"></script>
    <script src="/apps/js/bootstrap.bundle.min.js"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
    <script src="/apps/js/wx-client-dom.js"></script>
</body>
</html>
